import request from "../request.js";

//查询轮播广告
function bannerAds(data){
	return request({
		url:'/lejuClient/home/bannerAds',
		data:data
	})
}
//分类列表
function categorys(parentId,data){
	return request({
		url:`/lejuClient/home/categorys/${parentId}`,
		data:data
	})
}
//限时活动列表
function recommendList(data){
	return request({
		url:'/lejuClient/home/recommendList',
		data:data
	})
}
//热门推荐
function hotList(data){
	return request({
		url:'/lejuClient/home/hotList',
		data:data
	})
}
//推荐新品列表
function lejuLatestProducts(data){
	return request ({
		url:"/lejuClient/home/lejuLatestProducts",
		data:data
	})
}
//猜你喜欢
function saleMostProducts(data){
	return request ({
		url:"/lejuClient/home/saleMostProducts",
		data:data
	})
}
export{
	bannerAds,categorys,recommendList,hotList,lejuLatestProducts,saleMostProducts
}

